import 'uno.css';
import 'vfonts/Lato.css';

import { createApp } from 'vue';
import App from './App.vue';

import { setupRouter } from '@/router';
import { setupStore } from '@/stores';
import { setupI18n } from '@/locales';
import setupNaiveDiscreteApi from '@/setupNaiveDiscreteApi';

async function bootstrap() {
  const app = createApp(App);
  setupStore(app);
  // 多语言配置
  await setupI18n(app);
  await setupRouter(app);
  app.mount('#app');
  setupNaiveDiscreteApi();
}

bootstrap();
